<html>
  <head>
    <title>S3 POST Form</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  </head>

  <body>
    <form action="%BUCKET_URL%" method="post" enctype="multipart/form-data">
      <input type="hidden" name="acl" value="public-read">
      <input type="hidden" name="Content-Type" value="image/png">
      <input type="hidden" name="x-amz-credential" value="%CREDENTIAL%">
      <input type="hidden" name="x-amz-algorithm" value="AWS4-HMAC-SHA256">
      <input type="hidden" name="x-amz-date" value="%DATE%">
      <input type="hidden" name="success_action_status" value="201">
      <input type="hidden" name="Policy" value="%POLICY_BASE64%">
      <input type="hidden" name="x-amz-signature" value="%SIGNATURE%">

      Destination filename: <input type="text" name="key" value="uploads/image.png">
      <br>
      File to upload to S3:
      <input name="file" type="file">
      <br>
      <input type="submit" value="Upload File to S3">
    </form>
  </body>
</html>
